package com.sgroup.studycountry.support.annotation;


import com.sgroup.studycountry.support.enums.CopyIgnoreType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author umi
 * @date 2021/9/22 11:17
 */

@Retention(RetentionPolicy.RUNTIME)
@Target(value = {ElementType.FIELD})
public @interface CopyIgnore {
    boolean isIgnore() default true;

    CopyIgnoreType[] types() default {CopyIgnoreType.INSERT};
}
